<?php

namespace App\Models;


class Article extends Base
{

    public function setPicAttribute($value)
    {
        $this->attributes['pic'] = '/uploads/article/' . rand(1, 5) . '.jpeg';
    }

}
